package com.xunqi.blog.dao;

import com.xunqi.blog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Long> {

    //登录
    User findByUsernameAndPassword(String userName,String password);

}
